.pay-info-detail {
  .slide-footer { position: fixed; }
  .form-title { margin-top: 32px; }
  &.pay-with-invoice,
  &.pay-with-no-invoice,
  &.pay-with-previous-invoice {
    .form-title-label {
      display: inline-block;
      width: 140px;
      margin-right: 12px;
      text-align: left;
      line-height: 1.5;
    }
    .form-title-tip {
      font-size: 14px;
      font-weight: 400;
      color: $font-default;
    }
    .form-title-tip.ant-btn-link { color: $default-color; }
    .rotate-icon {
      transform:rotateY(180deg);
    }
    .edit-btn {
      position: fixed;
      top: 12px;
      right: 0;
      margin-right: 60px;
      font-size: 14px;
      color: $default-color;
    }
    .edit-pay-info__icon {
      margin-left: 10px;
      font-size: 20px;
      color: $default-color;
      cursor: pointer
    }
    .add-bank-account { display: inline-block; }
  }

  .create-expense-card {
    width: 379px;
    //margin-left: 152px;
    display: flex;
    padding: 14px 0;
    height: 78px;
    margin-top: 12px;
    background-color: #F7FAFF;
    border-radius: 4px;
    border: 1px solid #D6E5FF;
    color: $default-color;
    line-height: 26px;
    .new-by-invoice, .new-expense-direct {
      width: 50%;
      text-align: center;
      .icon {
        width: 24px;
        height: 24px;
        border: 12px;
        //background-color: #E7F0FF;
      }
    }
    .ant-dropdown-menu-item { text-align: left; }
  }

  .expense-card {
    width: 379px;
    margin-top: -36px;
    //margin-left: 152px;
    position: relative;
    padding: 10px 20px 20px 53px;
    background: #F9FBFF;
    border: 1px solid #EBF0F5;
    border-radius: 4px;
    overflow: hidden;
    &-icon {
      position: absolute;
      top: 14px;
      left: 17px;
      width: 24px;
      height: 24px;
      border-radius: 10px;
    }
    &-name {
      font-size: 14px;
      color: #333333;
      margin-bottom: 8px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      padding-right: 40px;
    }
    &-info {
      font-size: 12px;
      color: $font-default;
      line-height: 16px;
      margin-bottom: 8px;
      &:last-of-type { margin-bottom: 0; }
    }
    &-edit {
      position: absolute;
      top: 10px;
      right: 20px;
    }
  }
  .associate-contract {
    width: 379px;
    margin-top: -36px;
    position: relative;
    padding: 10px 20px 20px 20px;
    background: #F9FBFF;
    border: 1px solid #EBF0F5;
    border-radius: 4px;
    overflow: hidden;
    &-icon {
      position: absolute;
      top: 18px;
      left: 17px;
    }
    &-name {
      font-size: 14px;
      color: #333333;
      margin-bottom: 8px;
    }
    &-info {
      font-size: 12px;
      color: $font-default;
      line-height: 16px;
      margin-bottom: 8px;
      &:last-of-type { margin-bottom: 0; }
    }
    .ant-table-body {
      overflow-x: auto;
      background-color: #ffffff;
    }
  }
  &.pay-with-no-invoice,
  &.pay-with-previous-invoice {
    .expense-card, .associate-contract {
      margin-top: 0;
    }
  }
  .new-form .ant-row.hide { display: none; }
  .form-control {
    display: flex;
    margin-bottom: 16px;
    .form-label {
      width: 140px;
      margin-right: 12px;
      text-align: left;
      line-height: 1.5;
      color: $font-default;
    }
    .form-value {
      width: calc(100% - 140px);
      color: $font-title;
    }
  }
}
.corporate-payment-report-expense .invoice-brief-amount-detail.ant-row {
  position: relative;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  height: auto;
  zoom: 1;
  display: block;
  box-sizing: border-box;
}
